home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / sticpsrc.lzh / SOURCE.ARC / UNIX.H < prev    next >
Text File  |  1990-06-08  |  489b  |  14 lines

  1. /* Asynch controller control block */
  2. struct asy {
  3.     int fd;         /* File descriptor for TTY */
  4.     unsigned speed;        /* Line speed */
  5.     char *tty;        /* TTY filename */
  6.     struct termio orgmodes; /* original termio structure */
  7.     char *buf;        /* input buffer to avoid syscall overhead */
  8.     char *data;        /* data ptr in buf */
  9.     unsigned bufsize;    /* size of buffer */
  10.     unsigned cnt;        /* byte cnt in buf */
  11. };
  12. extern struct asy asy[];
  13. extern unsigned nasy;        /* Actual number of asynch lines */
  14. ə